package com.hisense.ovcloud.warehouse.dto.req;

import com.hisense.ovcloud.warehouse.dto.common.RegisterDetailDto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Schema(title = "modify key description")
public class RegisterDevicesReq {
    @Schema(name = "domain", format = "String", example = "9")
    private String domain;
    @Schema(name = "subDomain", format = "String", example = "2")
    private String subDomain;
    @Schema(name = "batchCode", format = "String", example = "edwin2020")
    private String batchCode;
    @Schema(name = "devices", format = "array", example = "[{\"wifiId\": \"8650011000100010001000000244db09b200\", \"publicKey\": \"8e4b2f6f5fc5e764c38aba5f57a1fd04\"}, {\"wifiId\": \"8650011000100010001000000244db09b201\", \"publicKey\": \"8e4b2f6f5fc5e764c38aba5f57a1fd05\"}, {\"wifiId\": \"8650011000100010001000000244db09b204\", \"publicKey\": \"8e4b2f6f5fc5e764c38aba5f57a1fd06\"}]")
    private List<RegisterDetailDto> devices;
}
